page {
  background: #fff;
}

.history {
  padding-bottom: env(safe-area-inset-bottom);
  .history-item {
    .date {
      color: #999;
      margin: 0rpx 30rpx;
      padding: 20rpx 0;
      font-size: 24rpx;
      background-color: #fff;
      border-bottom: 1rpx solid #d8d8d8;
    }
  }
  .line-prods {
    background: #fff;
    padding: 30rpx;
    border-radius: 10rpx;
    .item {
      display: flex;
      margin-bottom: 36rpx;
      .name {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        word-break: break-word;
        font-size: 28rpx;
        position: relative;
        top: 10rpx;
      }
      .img {
        width: 164rpx;
        height: 164rpx;
        border-radius: 26rpx 26rpx 26rpx 26rpx;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }
}

.history .line-prods .item .text-box {
  flex: 1;
  margin-left: 20rpx;
  position: relative;
  max-width: 490rpx;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.history .line-prods .item .text-box .price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.history .line-prods .item .text-box .price-box .price {
  display: flex;
}

.history .line-prods .item .text-box .price-box .btn {
  font-weight: normal;
  font-size: 22rpx;
  border: 2rpx solid #ff6d13;
  padding: 6rpx 20rpx;
  border-radius: 30rpx;
  color: #ff6d13;
}

.integral-icon {
  width: 24rpx;
  height: 24rpx;
}

/* 列表为空 */
.empty {
  margin-top: 100rpx;
  text-align: cneter;
}

.empty-icon {
  display: block;
  width: 80rpx;
  height: 80rpx;
  margin: 0 auto;
  margin-bottom: 20rpx;
}

.empty-icon > image {
  width: 100%;
  height: 100%;
}

.empty-text {
  font-size: 28rpx;
  text-align: center;
  color: #999;
  line-height: 2em;
}
